using System;
using System.Xml;
using InfoJetSoft.Service.Entity;

namespace InfoJetSoft.Service.ManagedCode
{
	/// <summary>
	/// Summary description for Error.
	/// </summary>
	public class Error : Microsoft.Office.Interop.InfoPath.SemiTrust.ErrorObject
	{

		public static string modeless = "modeless";
		public static string modal = "modal";

		private Microsoft.Office.Interop.InfoPath.SemiTrust.IXMLDOMNode node = null;
		private object conditionName = null;
		private string shortErrorMessage = null;
		private string detailedErrorMessage = null;
		private int errorCode = 0; 
		private string errorType = null;

		public Microsoft.Office.Interop.InfoPath.SemiTrust.IXMLDOMNode Node 
		{ 
			get
			{
				return this.node;
			}
			set
			{
				this.node = value;
			}
		}

		public string ShortErrorMessage 
		{ 
			get
			{
				return this.shortErrorMessage;
			} 
			set
			{
				this.shortErrorMessage = value;
			} 
		}

		public object ConditionName 
		{ 
			get
			{
				return this.conditionName;
			}
			set
			{
				this.conditionName = value;
			}
		}

		public string DetailedErrorMessage 
		{ 
			get
			{
				return this.detailedErrorMessage;
			} 
			set
			{
				this.detailedErrorMessage = value;
			} 
		}

		public int ErrorCode 
		{ 
			get
			{
				return this.errorCode;
			} 
			set
			{
				this.errorCode = value;
			} 
		}

		public string ErrorType 
		{ 
			get
			{
				return this.errorType;
			} 
			set
			{
				this.errorType = value;
			}
		}

	}
}
